Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[r] Move parse_query_condition_new -> parse_query_condition #3174

Merged
merged 5 commits into from
Oct 16, 2024

Conversation

johnkerl
Copy link
Member

@johnkerl johnkerl commented Oct 15, 2024

Issue and/or context: Issue #3051 / [sc-55672]. Stack: #3162, #3163, this.

Changes:

Replaces the existing parse_query_condition, which uses TileDB-R, with the one currently named parse_query_condition_new which uses libtiledbsoma.

Notes for Reviewer:

This or #3163 can be landed in either order.

@johnkerl johnkerl force-pushed the kerl/r-qc-apply branch 2 times, most recently from fdcc4a9 to d36731f Compare October 15, 2024 22:00
@johnkerl johnkerl marked this pull request as ready for review October 15, 2024 23:52
@@ -15,33 +15,24 @@ test_that("Arrow Interface from SOMAArrayReader", {
tb1 <- soma_array_to_arrow_table(soma_array_reader(uri, columns))
expect_equal(tb1$num_rows, 2638)

arr <- tiledb_array(uri) # need array for schema access to qc parser
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

already tested in tests/testthat/test-query-condition.R

Comment on lines +18 to +19
# Unlike in pyarrow there is no arrow::large_string
arrow::field("utf8", arrow::utf8()),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is arrow::large_utf8() in Arrow-R

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, and I test large_utf8 on this PR -- thank you!

@johnkerl johnkerl changed the title Move parse_query_condition_new -> parse_query_condition [r] Move parse_query_condition_new -> parse_query_condition Oct 16, 2024
@johnkerl johnkerl changed the base branch from kerl/r-qc-timestamp to main October 16, 2024 14:49
@johnkerl johnkerl merged commit dde44f1 into main Oct 16, 2024
@johnkerl johnkerl deleted the kerl/r-qc-apply branch October 16, 2024 14:49
johnkerl added a commit that referenced this pull request Oct 16, 2024
johnkerl added a commit that referenced this pull request Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants